package cn.wolfcode.rbac.util;


import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class QueryObject {
    private int currentPage = 1;
    private int pageSize = 5;

    public int getStartIndex() {
        return (currentPage - 1) * pageSize;
    }

    private String keyword;
    private Integer deptId = -1;
}
